package com.mac.hosp_pre.user.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Data
@Configuration
@ConfigurationProperties(prefix = "wechat")
public class WechatProperties {

    private String appId = "1";

    private String secret = "2";

    private String mpUrlProfix;


    private String userInfoUrl="http://www.hosp_pre.com/api/user/wx/userInfo";

    private String wx_redirect_url="http://www.hosp_pre.com/api/user/wx/authorize";

    private String return_url="http://www.hosp_pre.com/#/dashbord";
}
